﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Supersense.db;
using Supersense.content;

public partial class admin_law_update : System.Web.UI.Page
{
    private Database db = new Database();
    private News obj = new News();
    public DataTable detail;

    protected void Page_Load(object sender, EventArgs e)
    {

        string sql = "SELECT * FROM sup_spacenews WHERE id=" + int.Parse(Request.QueryString["id"].ToString().Trim());
        DataView dv = this.db.executedv(sql);
        if (dv != null)
        {
            detail = dv.Table;
        }

    }
}
